package com.dy.org.mapper;

import com.dy.basic.mapper.BaseMapper;
import com.dy.org.domain.Shop;
import com.dy.org.vo.ShopVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dayong
 * @since 2023-02-28
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop findByName(String name);


    // 通过emp的id查询用户adminID的信息
    Shop findAdminIdById(Long id);

    void updateState(Long id);

    List<ShopVO> loadShopEchartsData();
}
